package com.bdqn.Test;

import com.bdqn.Sj3JDK.Buyer;
import com.bdqn.Sj3JDK.IntermediaryJdkProxyFactory;
import com.bdqn.Sj3JDK.RealBuyer;
import org.apache.log4j.Logger;

public class SJ3JDK {
    private static Logger logger=Logger.getLogger(SJ3JDK.class);
    public static void main(String[] args) {
        Buyer buyer= IntermediaryJdkProxyFactory.create(new RealBuyer());
        String result=buyer.havealook();
        logger.debug(result);
    }
}
